/*
 * XDVShader.h
 *
 *  Created on: May 21, 2013
 *      Author: daviD
 */

#ifndef XDVSHADER_H_
#define XDVSHADER_H_

#include <GL/glew.h>
#include <GL/gl.h>

class XDVShader
{
public:
	XDVShader();
	XDVShader(char* vertexShaderFile, char* fragmentShaderFile);
	virtual ~XDVShader();

	char* ReadShader(char* aShaderFile);
	void SetShaders(char* vertexShaderFile, char* fragmentShaderFile);
	GLuint GetProgramHandler() {return m_program;}

private:
	GLuint m_program;
	GLuint m_vertexShader;
	GLuint m_fragShader;
};

#endif /* XDVSHADER_H_ */
